package com.freesky.biz.activity.domain;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.HashMap;
import java.util.Map;

/**
 * 立减金发放明细查询
 */
@Data
public class TCouponDetail implements java.io.Serializable{
    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 1、微信立减金
     * 2、支付宝红包
     */
    private String couponType;
    private String couponId;
    private String openId;
    private String activityId;
    private String activityName;
    private String stockId;
    private String status;
    private String statusMsg;
    private String createDate;
    private String updateDate;
    private String amt;
    private String busiId;

    private String appId;
    private String mchId;
    private String remarks;
    private String reissueFlag;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private Map<String, Object> params;

    public Map<String, Object> getParams() {
        if (params == null)
        {
            params = new HashMap<>();
        }
        return params;
    }

    public void setParams(Map<String, Object> params) {
        this.params = params;
    }
}
